package events
{
	import flash.events.Event;
	
	public class GameEvent extends Event
	{
		public var data:Object;
		public function GameEvent(type:String,d:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			data = d;
		}
		
		override public function clone():Event{
			return new GameEvent(this.type,data)
		}
	}
}